﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Frame.Lib.Utilities;

namespace Frame.Web.Admin.Tools
{
    public partial class Decryption : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnDecrypt_Click(object sender, EventArgs e)
        {

            try
            {
                txtDest.Text = StrUtil.DecryptDES(txtSource.Text.Trim(),txtKey.Text.Trim());
            }
            catch
            {
                txtDest.Text = "解密失败";
            }
        }
    }
}